/**
 *
 */
package org.suren.littlebird.actions.logger;

import org.eclipse.swt.widgets.Table;
import org.suren.littlebird.actions.Reload;

/**
 * @author suren
 * @since 2015-2-13
 */
public class SuRenLoggerDelBridgeAction extends AbstractSuRenLoggerBridgeAction
{
	private Reload reload;
	private Table table;
	private SuRenLoggerController controller;

	public SuRenLoggerDelBridgeAction(Table table, Reload loggerReload)
	{
		this.table = table;
		this.reload = loggerReload;
		this.controller = new DefaultSuRenLoggerController();

		setText("Del");
		setToolTipText("DelBridge");
	}

	@Override
	public void run()
	{
		super.run();

		control(table, controller, reload, SuRenLoggerController.BRIDGE_DEL);
	}
}
